package com.gongj.determineConstructors;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DetermineConstructorsMain {

	public static void main(String[] args) {
		//推断构造方法  使用 spring-config5.xml

		ClassPathXmlApplicationContext context =
				new ClassPathXmlApplicationContext("spring-config5.xml");
		A a = (A)context.getBean("aa");
		System.out.println(a);
	}
}
